package com.handydata.antifraud.enums;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum ProcessStatusEnum implements Comment {
    /**处理状态0未处理，1处理中，2处理成功，3处理失败，4返回成功，5返回失败**/
    PENDING("0", "未处理"),
    PROCESSING("1", "处理中"),
    HANDLE_OK("2", "处理成功"),
    HANDLE_FAIL("3", "处理失败"),
    RETURN_OK("4", "返回成功"),
    RETURN_FAIL("5", "返回失败")
    ;


    private String code;
    private String text;

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getText() {
        return text;
    }
}
